.view-text {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    white-space: normal !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.line3 {
    /* width: 80%; */
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    white-space: normal !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.line1 {
    width: 80%;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    white-space: normal !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.panel-footer a {
    margin-right: 10px;
    text-decoration: none;
    color: #666;
}

.panel-footer a:hover {
    color: red;
}

a:hover {
    cursor: pointer;
}

/*表单验证失败*/
.form-input-error input {
    border: 1px solid red;
}

.form-input-error p.help-block {
    color: red;
    display: block;
}

/*表单验证成功*/
.form-input-success input {
    border: 1px solid green;
}

.form-input-success p.help-block {
    color: red;
    /*能够将元素隐藏*/
    display: none;
}

/*隐藏元素*/
.hide {
    display: none;
}